﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ExportDeclarationsRptQuery.aspx.cs" Inherits="WMS6.Web.Analytics.ExportDeclarationsRptQuery" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>ExportDeclarationsRptQuery</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" id="js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <base target="_self" />

    <script language="javascript" type="text/javascript" event="onclick" for="document">

			hiddenCalendarDiv();

    </script>

    <script type="text/javascript">
        //初始化页面
        window.onload = function() {

            var actionID = window.dialogArguments;
            if (actionID != "" && actionID != null) {
                document.getElementById("hdnActionID").value = actionID;
                var array = actionID.split(',');
                initQueryPage(array[0], array[1]);
            }
            else {
                initQueryPage();
            }
        }

        //窗口大小改变时触发的事件
        window.onresize = function() {
            autoResizeQueryDiv("div_query");
        }
        
        //弹出窗口选择货主
        function selectOwner()
        {
            var rtnValue = popModalWindow('../Configuration/OwnerQuery.aspx?action=txtOwnerID','dialogWidth=800px;dialogHeight=500px;center=yes;resizable=yes;status=no;');
            if(rtnValue != null && rtnValue.toString() != "")
            {
                document.getElementById("txtOwnerID").focus();
                document.getElementById("txtOwnerID").value = rtnValue;
            }
        }
    </script>

</head>
<body>
    <form id="F15520" runat="server">
    <div>
        <div id="div_menu">
            <div style="float: left; width: 8px;">
                <div class="tabL">
                </div>
            </div>
            <div class="tabLabelCont tabCur">
                <asp:Label ID="lblQuery" runat="server" Text="查询条件" CssClass="hover" meta:resourcekey="lblQuery"></asp:Label>
            </div>
            <div style="float: left">
                <div class="tabR">
                </div>
            </div>
        </div>
        <div id="div_query">
            <table width="590" cellpadding="0" cellspacing="0">
                <tr>
                    <td style="width:180px">
                        <asp:Label CssClass="label" ID="lblDeclarationsID" runat="server" Text="出区报关单号" meta:resourcekey="lblDeclarationsID"></asp:Label>
                    </td>
                    <td style="width:30px">
                        &nbsp;
                    </td>
                    <td style="width:160px">
                     &nbsp;
                    </td>
                    <td style="width:200px"></td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtDeclarationsID" runat="server" CssClass="textbox"></asp:TextBox>
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlDeclarationsIDOper" runat="server" CssClass="selectbox">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblCompanyDeclarationsID" runat="server" Text="企业出口报关单号" meta:resourcekey="lblCompanyDeclarationsID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtCompanyDeclarationsID" runat="server" CssClass="textbox"></asp:TextBox>
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlCompanyDeclarationsIDOper" runat="server" CssClass="selectbox">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblVerificationFormID" runat="server" Text="核销单号" meta:resourcekey="lblVerificationFormID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtVerificationFormID" runat="server" CssClass="textbox"></asp:TextBox>
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlVerificationFormIDOper" runat="server" CssClass="selectbox">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblOwnerID" runat="server" Text="货主代码" meta:resourcekey="lblOwnerID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox"></asp:TextBox><img
                            src="../Images/icon_find.gif" alt="select one item" class="img" runat="server"
                            id="imgOwnerID" onclick="selectOwner();" />
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlOwnerIDOper" runat="server" CssClass="selectbox">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblOwnerOrderID" runat="server" Text="货主订单号" meta:resourcekey="lblOwnerOrderID"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtOwnerOrderID" runat="server" CssClass="textbox"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlOwnerOrderIDOper" runat="server" CssClass="selectbox">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblCreatedBy" runat="server" Text="制单人" meta:resourcekey="lblCreatedBy"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtCreatedBy" runat="server" CssClass="textbox"></asp:TextBox>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlCreatedByOper" runat="server" CssClass="selectbox">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblDeclarationsDate" runat="server" Text="申报日期" meta:resourcekey="lblDeclarationsDate"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:TextBox ID="txtDeclarationsDate" runat="server" CssClass="textbox" meta:resourcekey="txtDeclarationsDate"></asp:TextBox><img
                            src="../Images/calendar.gif" class="img" alt="请选择日期" id="img1" runat="server"
                            onclick="setday(this,txtDeclarationsDate)" />
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlDeclarationsDate" runat="server" CssClass="selectbox" onchange="showAnotherDate(this.options[this.options.selectedIndex].value,div1,img2);"
                            meta:resourcekey="ddlDeclarationsDate">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <div style="display: none;" id="div1">
                            <asp:TextBox ID="txtDeclarationsDate2" runat="server" CssClass="textbox" meta:resourcekey="txtDeclarationsDate2"></asp:TextBox><img
                                src="../Images/calendar.gif" class="img" alt="请选择日期" id="img2" runat="server"
                                onclick="setday(this,txtDeclarationsDate2)" />
                        </div>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="label" ID="lblStatus" runat="server" Text="状态" meta:resourcekey="lblStatus"></asp:Label>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:DropDownList ID="ddlStatus" runat="server" CssClass="mediumselectbox">
                        </asp:DropDownList>
                        <%-- <uc1:MultipleSelectControl ID="MSCDeclarationsType" runat="server" />--%>
                    </td>
                    <td>
                        &nbsp;
                    </td>
                    <td>
                        <asp:DropDownList ID="ddlStatusOper" runat="server" CssClass="selectbox">
                        </asp:DropDownList>
                    </td>
                    <td>
                    </td>
                </tr>
            </table>
        </div>
        <div id="div_bottom">
            <table>
                <tr>
                    <td>
                        <asp:Button ID="btnSearch" runat="server" Text="<%$Resources:ButtonResource,btnSearch%>"
                            Enabled="false" CssClass="button" OnClick="btnSearch_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnList" runat="server" Text="<%$Resources:ButtonResource,btnList%>"
                            Enabled="false" CssClass="button" OnClick="btnList_Click" />
                    </td>
                    <td>
                        <asp:Button ID="btnExport" runat="server" Text="<%$Resources:ButtonResource,btnExport%>"
                            Enabled="false" CssClass="button" OnClientClick="javascript:window.location.href='ExportDeclarationsRptList.aspx?from=query&export=y';return false;" />
                    </td>
                </tr>
            </table>
        </div>
        <input id="hdnActionID" type="hidden" runat="server" />
        <input type="hidden" id="hdnDataFormat" runat="server" />
        <input type="hidden" id="hdncalendarFlag" runat="server" />
    </div>
    </form>
</body>
</html>